package jp.design.patterns.factory.entity;

import jp.design.patterns.factory.interfac.ISender;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 *
 * 快递实体
 *
 * @author: Jp
 * @date: 2022/9/15
 **/
@Data
@Slf4j
public class ExpressSender implements ISender {

    private String message;

    @Override
    public void send() {
        log.info("发送了快递:{}",this.message);
    }
}
